hackerrank subarray division problem solution

visit shbcf.ru